﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OnlineMovieTicket.Services.IServices;
using OnlineMovieTicket.Data.IRepository;
using OnlineMovieTicket.Data.Repository;

namespace OnlineMovieTicket.Services.Services
{
    public class CinemaHallService : ICinemaHallService
    {
        ICinemaHallRepository CinemaHallRepo;

        public CinemaHallService()
        {
            CinemaHallRepo = new CinemaHallRepository();
        }

        public IList<Model.CinemaHall> GetCinemaHallsByCinema(int CinemaID)
        {
            return CinemaHallRepo.GetCinemaHallsByCinema(CinemaID);
        }

    }
}
